package annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/9/14 0:00
 * @Version 1.0
 */
@Target({ElementType.METHOD,ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface OnColaTransition {

    /**
     * 原状态
     * @return
     */
    String[] source();

    /**
     * 动作
     * @return
     */
    String action();

}
